﻿using AnlianCommon.Common.Domains.SheepManagement;
using AnlianCommon.Common.DTO;
using MediatR;

namespace SheepCommon.API.SheepCommands.SheepCullinges
{
    public class SheepCullingQueryCommand : IRequest<ResultPage<SheepCulling>>
    {
        /// <summary>
        /// 开始淘汰日期
        /// </summary>
        public DateTime? StratEliminationDate { get; set; }
        /// <summary>
        /// 结束淘汰日期
        /// </summary>
        public DateTime? EndEliminationDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? SheepNumber { get; set; }
        /// <summary>
        /// 淘汰原因（1.空胎 2.其他 3.老龄 4.履配不孕 5.习惯性流产 6.子宫脱 7.子宫炎 8.肥胖 9.消瘦 10.精液质量差 11.拒配 12.无乳）
        /// </summary>
        public string? EliminationReasons { get; set; }
        /// <summary>
        /// 是否离场
        /// </summary>
        public bool? IsDel { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
